/**
 * 
 */
package com.hfjyz.registration.command;

/**
 *
 */
public class AnnouncementEditCommand {

	private String publishDate;
	private String applyBeginDate;
	private String applyDeadDate;
	private String examDate;
	private String reApplyStart;
	private String reApplyEnd;
	private String admissionPrintStart;
	private String admissionPrintEnd;
	private String payStartDate;
	private String payEndDate;

	private String examTime;
	private String examTimeFrom;
	private String examTimeTo;
	private String name;
	private String contents;
	private Integer id;
	private String examName;
	private String regFee;
	private boolean onlinePay;

	private String examPosition;
	private String scorePublishDate;

	public String getApplyBeginDate() {
		return applyBeginDate;
	}

	public void setApplyBeginDate(String applyBeginDate) {
		this.applyBeginDate = applyBeginDate;
	}

	public String getApplyDeadDate() {
		return applyDeadDate;
	}

	public void setApplyDeadDate(String applyDeadDate) {
		this.applyDeadDate = applyDeadDate;
	}

	public String getExamDate() {
		return examDate;
	}

	public void setExamDate(String examDate) {
		this.examDate = examDate;
	}

	public String getReApplyStart() {
		return reApplyStart;
	}

	public void setReApplyStart(String reApplyStart) {
		this.reApplyStart = reApplyStart;
	}

	public String getReApplyEnd() {
		return reApplyEnd;
	}

	public void setReApplyEnd(String reApplyEnd) {
		this.reApplyEnd = reApplyEnd;
	}

	public String getAdmissionPrintStart() {
		return admissionPrintStart;
	}

	public void setAdmissionPrintStart(String admissionPrintStart) {
		this.admissionPrintStart = admissionPrintStart;
	}

	public String getAdmissionPrintEnd() {
		return admissionPrintEnd;
	}

	public void setAdmissionPrintEnd(String admissionPrintEnd) {
		this.admissionPrintEnd = admissionPrintEnd;
	}

	public String getExamTime() {
		return examTimeFrom + "~" + examTimeTo;
	}

	public void setExamTime(String examTime) {
		if (examTime != null && examTime.length() == 11) {
			examTimeFrom = examTime.substring(0, 5);
			examTimeTo = examTime.substring(6, 11);
		}
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getContents() {
		return contents;
	}

	public void setContents(String contents) {
		this.contents = contents;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the examPosition
	 */
	public String getExamPosition() {
		return examPosition;
	}

	/**
	 * @param examPosition
	 *            the examPosition to set
	 */
	public void setExamPosition(String examPosition) {
		this.examPosition = examPosition;
	}

	/**
	 * @return the publishDate
	 */
	public String getPublishDate() {
		return publishDate;
	}

	/**
	 * @param publishDate
	 *            the publishDate to set
	 */
	public void setPublishDate(String publishDate) {
		this.publishDate = publishDate;
	}

	/**
	 * @return the examTimeFrom
	 */
	public String getExamTimeFrom() {
		return examTimeFrom;
	}

	/**
	 * @param examTimeFrom
	 *            the examTimeFrom to set
	 */
	public void setExamTimeFrom(String examTimeFrom) {
		this.examTimeFrom = examTimeFrom;
	}

	/**
	 * @return the examTimeTo
	 */
	public String getExamTimeTo() {
		return examTimeTo;
	}

	/**
	 * @param examTimeTo
	 *            the examTimeTo to set
	 */
	public void setExamTimeTo(String examTimeTo) {
		this.examTimeTo = examTimeTo;
	}

	/**
	 * @return the scorePublishDate
	 */
	public String getScorePublishDate() {
		return scorePublishDate;
	}

	/**
	 * @param scorePublishDate
	 *            the scorePublishDate to set
	 */
	public void setScorePublishDate(String scorePublishDate) {
		this.scorePublishDate = scorePublishDate;
	}

	/**
	 * @return the examName
	 */
	public String getExamName() {
		return examName;
	}

	/**
	 * @param examName
	 *            the examName to set
	 */
	public void setExamName(String examName) {
		this.examName = examName;
	}

	/**
	 * @return the regFee
	 */
	public String getRegFee() {
		return regFee;
	}

	/**
	 * @param regFee
	 *            the regFee to set
	 */
	public void setRegFee(String regFee) {
		this.regFee = regFee;
	}

	/**
	 * @return the onlinePay
	 */
	public boolean isOnlinePay() {
		return onlinePay;
	}

	/**
	 * @param onlinePay
	 *            the onlinePay to set
	 */
	public void setOnlinePay(boolean onlinePay) {
		this.onlinePay = onlinePay;
	}

	/**
	 * @return the payStartDate
	 */
	public String getPayStartDate() {
		return payStartDate;
	}

	/**
	 * @param payStartDate the payStartDate to set
	 */
	public void setPayStartDate(String payStartDate) {
		this.payStartDate = payStartDate;
	}

	/**
	 * @return the payEndDate
	 */
	public String getPayEndDate() {
		return payEndDate;
	}

	/**
	 * @param payEndDate the payEndDate to set
	 */
	public void setPayEndDate(String payEndDate) {
		this.payEndDate = payEndDate;
	}

}
